﻿<%@ Page MasterPageFile="~/Site1.Master" Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="DigDes.DSchool.SUPS.Web.UI.WebForm1" %>


    <asp:Content ContentPlaceHolderID="web1" runat="server">
       
       
    <br />
    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" DataSourceID="ODS" EmptyDataText="NULL" CssClass="grid_dis" AllowPaging="true" PageSize="20"  >
        <Columns>
            
            <asp:BoundField DataField="InventoryCarriageNumber" HeaderText="Инв. номер вагона" SortExpression="InventoryCarriageNumber" />
            <asp:BoundField DataField="WeightTons" HeaderText="Вес груза в тоннах" SortExpression="WeightTons" />
            <asp:BoundField DataField="DestStation" HeaderText="Станция назначения вагона" SortExpression="DestStation" />
            <asp:BoundField DataField="CargoName" HeaderText="Код груза по тарифн. номенклатуре" SortExpression="CargoName" />
            <asp:BoundField DataField="ConsigneeCode" HeaderText="Код грузополучателя" SortExpression="ConsigneeCode" />
            <asp:BoundField DataField="ParkType" HeaderText="Тип парка вагона" SortExpression="ParkType" />
            <asp:BoundField DataField="StartStation" HeaderText="Станция начала рейса" SortExpression="StartStation" />
            <asp:BoundField DataField="CarOperation" HeaderText="Код операции" SortExpression="CarOperation" />
            <asp:BoundField DataField="Date" HeaderText="Дата операции" SortExpression="Date" />
            <asp:BoundField DataField="Time" HeaderText="Год операции" SortExpression="Time" />
            <asp:BoundField DataField="OpStation" HeaderText="Станция сверш. операции" SortExpression="OpStation" />
            <asp:BoundField DataField="DelRoad" HeaderText="Дорога сдачи" SortExpression="DelRoad" />
            <asp:BoundField DataField="RecRoad" HeaderText="Дорога приема" SortExpression="RecRoad" />
            <asp:BoundField DataField="TrainIndex" HeaderText="Индекс поезда" SortExpression="TrainIndex" />
            <asp:BoundField DataField="TrainNumber" HeaderText="Номер поезда" SortExpression="TrainNumber" />
        </Columns>
            
        </asp:GridView>
        <asp:ObjectDataSource ID="ODS" runat="server" 
                              SelectMethod="SelectAllRows" 
                              TypeName="DigDes.DSchool.SUPS.DataAccess.Database.ObjectDataSourceDAC"
                              >
            
        </asp:ObjectDataSource>
 
    </asp:Content>